<template>
  <div>
    <h1>欢迎来到首页</h1>
    <p>{{data}}</p>
  </div>
</template>

<script setup>
 import {useRequest } from 'alova/client';
 import { getUsers } from '@/api/auth';
 const { data, loading, error } = useRequest(getUsers, { immediate: true });
 
</script>